#include "Node.h"
Node::Node(std::string &str) {
    this->str = str;
    this->head = str.at(0);
    this->tail = str.at(str.length()-1);
    this->visit = NOT_VISIT;
    this->checkVisit = NOT_VISIT;
    this->max = 0;
    this->next = nullptr;
    this->firstSet = 0;

}
